package com.zlzxm.shoesmarket.view.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.zlzxm.shoesmarket.R;
import com.zlzxm.shoesmarket.view.adapter.entity.EntityInNote;

import org.jetbrains.annotations.NotNull;

/**
 * Created by zlz
 * on  4/18/21
 */
public class ADInNote extends BaseQuickAdapter<EntityInNote, BaseViewHolder> {


    public ADInNote() {
        super(R.layout.item_in_note);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, EntityInNote entityInNote) {


        holder.setText(R.id.tvTime,entityInNote.getTime());
        holder.setText(R.id.tvSize,entityInNote.getSize());
        holder.setText(R.id.tvNum,entityInNote.getNum());
        holder.setText(R.id.tvPrice,entityInNote.getPrice());
        holder.setText(R.id.tvTotal,entityInNote.getTotal());

    }
}
